ia64: Fix libxenguest build after save/restore interface changes.
authorKeir Fraser <keir@xensource.com>
Fri, 6 Apr 2007 09:14:02 +0000 (10:14 +0100)
committerKeir Fraser <keir@xensource.com>
Fri, 6 Apr 2007 09:14:02 +0000 (10:14 +0100)
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
tools/libxc/ia64/xc_ia64_linux_restore.c

index 357e89796de3c011fb325bbbdfafdb91f0351427..65154caee2cf6ec83cec004f12f15ed74e409f29 100644 (file)
@@ -59,9 +59,10 @@ read_page(int xc_handle, int io_fd, uint32_t dom, unsigned long pfn)
 }
 
 int
-xc_linux_restore(int xc_handle, int io_fd, uint32_t dom,
+xc_domain_restore(int xc_handle, int io_fd, uint32_t dom,
                  unsigned int store_evtchn, unsigned long *store_mfn,
-                 unsigned int console_evtchn, unsigned long *console_mfn)
+                 unsigned int console_evtchn, unsigned long *console_mfn,
+                 unsigned int hvm, unsigned int pae)
 {
     DECLARE_DOMCTL;
     int rc = 1, i;
@@ -81,6 +82,11 @@ xc_linux_restore(int xc_handle, int io_fd, uint32_t dom,
     /* A temporary mapping of the guest's start_info page. */
     start_info_t *start_info;
 
+    if (hvm) {
+        ERROR("HVM Restore is unsupported");
+        goto out;
+    }
+
     /* For info only */
     nr_pfns = 0;